import * as NS from "../../Common/NetServices";
import { IsNull } from "../../TYLibrary/Common/GlobalExtend";
import { Wx_XSPPage } from "../../Common/Entitys";
import { Log } from "../../TYLibrary/System/Logger";
import { WXDataClassRuntimeDecorator, Wx_PageData } from "../../Common/EntityBase";

@WXDataClassRuntimeDecorator()
class SearchPageData extends Wx_PageData {}

class SearchPage extends Wx_XSPPage {
    public Data: SearchPageData = new SearchPageData();

    /**
     * 初始化页面信息
     * @param {any} options
     * @returns {Promise<void>}
     * @memberof IndexPage
     */
    public async InitData(options: any): Promise<void> {}

    /**
     *
     * @param {*} e
     * @memberof SearchPage
     */
    public GetTextValueHandler(e: any): void {
        let text = e.detail.value;
        console.log(text);
    }

    /**
     *
     * @param {*} e
     * @memberof SearchPage
     */
    public SearchHandler(e: any): void {}

    /**
     *
     * @param {*} e
     * @memberof SearchPage
     */
    public DelHandler(e: any): void {}
}

Page(new SearchPage());
